/*
 * 统计报表
 */
import {
  post,
  get,
  put,
  dalete,
  postJosn,
  putone,
  patch,
  daleteJson,
  download,
} from '../utils/request';

// 库存明细统计
export function queryTradeStockStatList(data) {
  return post('/api/data-service/v1/tradeStockDataStat/queryTradeStockStatList', data)
}
export function queryTradeStockStatHead(data) {
  return post('/api/data-service/v1/tradeStockDataStat/queryTradeStockStatHead', data)
}
export function exportTradeStockStatList(data) {
  return post('/api/data-service/v1/tradeStockDataStat/exportTradeStockStatList', data)
}


// 优惠券统计报表
export function queryPromotionStatList(data) {
  return post('/api/data-service/v1/promotionDataStat/queryPromotionStatList', data)
}
export function queryPromotionStatHead(data) {
  return post('/api/data-service/v1/promotionDataStat/queryPromotionStatHead', data)
}
export function exportPromotionStatList(data) {
  return post('/api/data-service/v1/promotionDataStat/exportPromotionStatList', data)
}

// 门店统计报表
export function queryStoreInfoStatList(data) {
  return post('/api/data-service/v1/storeDataStat/queryStoreInfoStatList', data)
}
export function queryStoreInfoStatHead(data) {
  return post('/api/data-service/v1/storeDataStat/queryStoreInfoStatHead', data)
}
export function exportStoreInfoStatList(data) {
  return post('/api/data-service/v1/storeDataStat/exportStoreInfoStatList', data)
}

// 门店审核报表
export function queryStoreReviewStatList(data) {
  return post('/api/data-service/v1/storeDataStat/queryStoreReviewStatList', data)
}
export function queryStoreReviewStatHead(data) {
  return post('/api/data-service/v1/storeDataStat/queryStoreReviewStatHead', data)
}
export function exportStoreReviewStatList(data) {
  return post('/api/data-service/v1/storeDataStat/exportStoreReviewStatList', data)
}